English
Creates a new notification for a user in the system and returns the created notification details.
cURL
curl --request POST \ --url https://your_a2_service/notifications \ --header 'Content-Type: application/json' \ --data '{ "created_at": "2023-11-07T05:31:56Z", "is_read": true, "message": { "code": "publish_request", "params": {} }, "updated_at": "2023-11-07T05:31:56Z", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
{ "created_at": "2023-11-07T05:31:56Z", "is_read": true, "message": { "code": "publish_request", "params": {} }, "no": 123, "updated_at": "2023-11-07T05:31:56Z", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Schema for creating a new notification.
Successful Response
Schema for reading notification entity.
Was this page helpful?